package com.grm.sys.mapper;

import com.grm.sys.model.SysDictType;
import com.grm.sys.request.dict.type.SysDictTypeQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDictTypeMapper {
    List<SysDictType> queryList(@Param("queryParam") SysDictTypeQueryParam queryParam);

    void update(SysDictType sysDictType);

    SysDictType queryById(Long id);

    SysDictType queryByType(String type);

    void add(SysDictType sysDictType);

    List<String> queryTypesByIds(@Param("ids")List<Long> ids);

    void deleteByIds(@Param("ids")List<Long> ids);
}
